home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 11
/
Cream of the Crop 11-1.iso
/
windows
/
boyer04.zip
/
READ.ME
< prev
Wrap
Text File
|
1996-01-14
|
4KB
|
109 lines
-------------------------------------------------------------------------------
Fast String Search Algorithm (Boyer) for Windows C/C++ Programmers
version 0.4
(Supports Windows 3.x)
by Patrick KO Shu-pui
Copyright (c) 1991-1996 All Rights Reserved.
-------------------------------------------------------------------------------
ADDRESS TO CONTACT:
internet: pko@hk.super.net
mailing: Patrick Ko
G.P.O. Box 7468
Hong Kong
-------------------------------------------------------------------------------
BOYER04.ZIP contains (use PKUNZIP -d option)
MAKEFILES-
DEMO .MAK - makefile for demo program
BOYERLIB.MAK - makefile for static library BOYER.LIB
BOYERDLL.MAK - makefile for dynamic library BOYER.LIB and BOYER.DLL
SOURCES-
BOYER .C - Boyer-Moore fast string exact match algorithm
BOYER .H - boyer.c header file
DEMO .C - demo how to use boyer.c under Windows
DEMO .DEF - demo def file
DEMO .H - demo header file
DEMO .RC - demo rc file
RUNTIME-
DEMO .EXE - demo executable
BOYER .OBJ - object
BOYER .LIB - static LIB
DLL\BOYER.DLL - DLL
DLL\BOYER.LIB - LIB for BOYER.DLL
DOCUMENTS-
BOYER .DOC - Boyer-Moore document file
READ .ME - this file
-------------------------------------------------------------------------------
WHATS NEW in v0.1:
- Boyer-Moore Algorithm written in C for DOS
WHATS NEW in v0.2:
- Source code rewritten for Windows
- Provides demo program
WHATS NEW in v0.3:
- Supports DLL
- Support case-insensitive search
WHATS NEW in v0.4:
THANKS for Tim Pangborn reporting a bug in BOYER v0.3 -- a failure
in finding ALL UPPER case pattern inside the search space specifying
ALL LOWER case pattern using FindIC() or FindBackwardIC(), and also
thanks for his precious suggestions.
v0.4 has now fixed the bug.
THANKS for Victor Volkman's comments in his article published in
the October 1995 issue of Windows/DOS Developer's Journal. BOYER
v0.4 now improved a bit and supports multithreaded search -- I mean
programs could be multithreaded to call BOYER.
v0.4 now provides a HFIND handle structure for a program to search
multiple pattern in mutliple search spaces.
v0.4 also puts together the sources for generating a static LIB
and a dynamic LIB. Different makefiles are provided for that.
HOW TO COMPILE:
1. Windows (Microsoft C/C++ v7.0) - type
nmake -f demo.mak
2. Generating a DLL? type
nmake -f boyerdll.mak
3. Generating a static LIB only? type
nmake -f boyerlib.mak
AUTHOR
All the sources are written by Patrick KO Shu Pui, email pko@hk.super.net.
===============================================================================
AUTHORIZATION NOTICE
BOYER04.ZIP is a shareware and is freely distributable.
Using this package BOYER04.ZIP for commercial purposes required authorization
from the author. Please send US$20 to the author for registration.
Registered users of BOYER03.ZIP can upgrade to this version free of charge.
===============================================================================
DISCLAIMER (I hate this but have to do so)
You are on your own risk - the author is not responsible for any lost due
to the use of this code.
===============================================================================